addElementSpacedH
Adds an element with custom vertical padding, keyed off a manually defined parent element.
NOTE: "element" here refers to a piece of a PopupWidget layout. "Elements" do NOT necessarily have to be minecraft Element
Return
Builder - this builder for further use
Author
fzzyhmstrs
Since
0.2.0
Parameters
Any subclass of Widget
String - the id of this element, used when an element refers to this one as a parent
E - the widget
String - the id of the parent to key layout of this new element off of.
Int - the custom vertical padding
vararg Position - defines the layout arrangement of this element compared to it's parent. See the doc for Position for details.
Adds an element with custom vertical padding, automatically keyed off the last added element (or "title" if this is the first added element)
NOTE: "element" here refers to a piece of a PopupWidget layout. "Elements" do NOT necessarily have to be minecraft Element
Return
Builder - this builder for further use
Author
fzzyhmstrs
Since
0.2.0
Parameters
Any subclass of Widget
String - the id of this element, used when an element refers to this one as a parent
E - the widget
String - the id of the parent to key layout of this new element off of.
Int - the custom vertical padding
vararg Position - defines the layout arrangement of this element compared to its parent. See the doc for Position for details.